import http from '@/common/utils/request.js'

export const addrOfSelfPickup = {
	//获取列表
	getAddrOfSelfPickupList(data){
		return http.get('/merchant/addrOfSelfPickup/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/merchant/addrOfSelfPickup/getItemById/', data, {custom:{}})
	},
	//创建
	createAddrOfSelfPickup(data){
		return http.post('/merchant/addrOfSelfPickup/createAction/', data, {custom:{}})
	},
	//新增
	updateAddrOfSelfPickup(data){
		return http.post('/merchant/addrOfSelfPickup/updateAction/', data, {custom:{}})
	},
}